projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d0a0059
)
Improve error message.
author
Ewan Mellor
<ewan@xensource.com>
Fri, 9 Mar 2007 01:59:59 +0000
(
01:59
+0000)
committer
Ewan Mellor
<ewan@xensource.com>
Fri, 9 Mar 2007 01:59:59 +0000
(
01:59
+0000)
Signed-off-by: Tom Wilkie <tom.wilkie@gmail.com>
tools/python/xen/xm/XenAPI.py
patch
|
blob
|
history
diff --git
a/tools/python/xen/xm/XenAPI.py
b/tools/python/xen/xm/XenAPI.py
index 8d58c3f7f63ff994b14d6d6231ba31d309cbdced..e557b9ccb8b0c183d3581bb67691fdafbab2c771 100644
(file)
--- a/
tools/python/xen/xm/XenAPI.py
+++ b/
tools/python/xen/xm/XenAPI.py
@@
-155,7
+155,7
@@
class Session(xen.util.xmlrpclib2.ServerProxy):
def _parse_result(result):
if type(result) != dict or 'Status' not in result:
- raise xmlrpclib.Fault(500, 'Missing Status in response from server')
+ raise xmlrpclib.Fault(500, 'Missing Status in response from server'
+ result
)
if result['Status'] == 'Success':
if 'Value' in result:
return result['Value']